package com.bootdo.clouddo.annotation;

import com.bootdo.clouddo.advice.EncryptRequestBodyAdvice;
import com.bootdo.clouddo.advice.EncryptResponseBodyAdvice;
import com.bootdo.clouddo.config.SecretKeyConfig;
import org.springframework.context.annotation.Import;


import java.lang.annotation.*;

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
@Import({SecretKeyConfig.class, EncryptResponseBodyAdvice.class, EncryptRequestBodyAdvice.class})
public @interface EnableSecurity {
}

